package com.design.pattern.decorator;

/**
 * @author goujian
 * @description: TODO
 * @date 2022/3/15 6:35 下午
 */
public class MainClass {
    public static void main(String[] args) {
        AirPlane airPlane = new AirPlane();
        StandDecorator standDecorator = new StandDecorator(airPlane);
        DiningDecorator diningDecorator = new DiningDecorator(airPlane);
        standDecorator.cost();
        diningDecorator.cost();
    }
}
